/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: PACKAGE_NAME
 * @ClassName: Student
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/10/10 15:17
 * @Copyright 金斗版板所有
 */
public class Student extends Person {
    private int learn;
    private String SchoolTime;
    private String SchoolWork;

    public void setLearn(int learn) {
        this.learn = learn;
    }

    public void setSchoolTime(String schoolTime) {
        SchoolTime = schoolTime;
    }

    public void setSchoolWork(String schoolWork) {
        SchoolWork = schoolWork;
    }

    public int getLearn() {
        return learn;
    }

    public String getSchoolTime() {
        return SchoolTime;
    }

    public String getSchoolWork() {
        return SchoolWork;
    }

    public Student(int learn, String schoolTime, String schoolWork, String name, String gender, int age) {
        super( name,  gender,  age);
        this.learn = learn;
        SchoolTime = schoolTime;
        SchoolWork = schoolWork;
    }
}
